package com.ganzi.manager.dao;

import com.ganzi.manager.model.Role;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;
//@Repository
public interface RoleDao {

    public Role findRoleById(long id)throws Exception;
    public Role findRoleByIdForPermissions(long id)throws Exception;
    public List<Role> findAllRole()throws Exception;
}
